<template>
  <el-form :model="dataForm" label-width="100px" label-position="top">
    <el-form-item label="尺寸大小">
      <el-radio-group v-model="dataForm.size">
        <el-radio label="large">大</el-radio>
        <el-radio label="default">中</el-radio>
        <el-radio label="small">小</el-radio>
      </el-radio-group>
    </el-form-item>
    <el-form-item label="文本宽度">
      <el-radio-group v-model="dataForm.labelWidth">
        <el-radio label="80px">80px</el-radio>
        <el-radio label="100px">100px</el-radio>
        <el-radio label="120px">120px</el-radio>
        <el-radio label="140px">140px</el-radio>
      </el-radio-group>
    </el-form-item>
    <el-form-item label="文本位置">
      <el-radio-group v-model="dataForm.labelPosition">
        <el-radio label="left">左</el-radio>
        <el-radio label="top">上</el-radio>
      </el-radio-group>
    </el-form-item>
    <el-form-item label="是否禁用">
      <el-radio-group v-model="dataForm.disabled">
        <el-radio :label="false">否</el-radio>
        <el-radio :label="true">是</el-radio>
      </el-radio-group>
    </el-form-item>
  </el-form>
</template>
 
<script setup>
const props = defineProps({
  dataForm: {
    type: Object,
    default: () => {}
  }
});

const { proxy } = getCurrentInstance();
</script>

<style scoped>
</style>
